package com.caocaog.market.vo;

import com.caocaog.market.entity.OrderDelivery;
import com.caocaog.market.entity.OrderLine;
import com.caocaog.market.entity.ShopPromo;
import com.caocaog.market.entity.ShopPromoHis;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ToString
@ApiModel(value = "单商品下订单")
public class OrderForOneVo {

    /**分站*/
    @ApiModelProperty(value = "分站",required = true)
    private String siteId;
    /**商家*/
    @ApiModelProperty(value = "商家",required = true)
    private String merchantId;
    /**店铺*/
    @ApiModelProperty(value = "店铺",required = true)
    private String shopId;
    /**会员*/
    @ApiModelProperty(value = "会员",required = true)
    private String memberId;
    /**收货地址id*/
    @ApiModelProperty(value = "收货地址id")
    private String addressId;
    /**订单号*/
    @ApiModelProperty(value = "订单号")
    private String orderNo;
    /**类型1：外卖 2：自提 3：店内*/
    @ApiModelProperty(value = "类型1：外卖 2：自提 3：店内",required = true)
    private Integer type;
    /**来源1:微信小程序 2：支付宝小程序 3：安卓APP 4:IOSAPP*/
    @ApiModelProperty(value = "来源1:微信小程序 2：支付宝小程序 3：安卓APP 4:IOSAPP")
    private Integer source;
    @ApiModelProperty(value = "备注")
    private String remake;
    @ApiModelProperty(value = "订单实付金额", required = true)
    private String payMoney;
    @ApiModelProperty(value = "订单总金额", required = true)
    private String totalMoney;
    @ApiModelProperty(value = "优惠金额", required = true)
    private String promoMoney;
    @ApiModelProperty(value = "可参与的店内优惠活动")
    private List<ShopPromoHis> shopPromoHisList;


    @ApiModelProperty(value = "商品订单配送信息")
    private OrderDelivery orderDelivery;
    @ApiModelProperty(value = "商品订单行信息")
    private List<OrderLine> orderLineList;


}
